package main

import (
	"fmt"
	"net/http"
	"os/exec"
)

func main() {
	go func() {
		http.Handle("/", http.FileServer(http.Dir(".")))
		if err := http.ListenAndServe(":8080", nil); err != nil {
			fmt.Println(err)
		}
	}()

	exec.Command("explorer", "http://127.0.0.1:8080/Gomoku_js.html").Output()
	select {}
}
